package com.henry.model;

import java.io.Serializable;

public class User implements Serializable {
    private static final long serialVersionUID = 3625399260183760683L;
    private String userName;
    private String passWord;
    private String name;
    private String gender;
    private String age;
    private String cla;
    private String status;
    private int grade;

    public User() {
    }

    public User(String userName, String passWord) {
        this.userName = userName;
        this.passWord = passWord;
    }

    public User(String userName, int grade) {
        this.userName = userName;
        this.grade = grade;
    }

    public User(String userName, String passWord, String name, String gender, String age, String cla, String status) {
        this.userName = userName;
        this.passWord = passWord;
        this.name = name;
        this.gender = gender;
        this.age = age;
        this.cla = cla;
        this.status = status;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getCla() {
        return cla;
    }

    public void setCla(String cla) {
        this.cla = cla;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public int getGrade() {
        return grade;
    }

    public void setGrade(int grade) {
        this.grade = grade;
    }

    @Override
    public String toString() {
        return "User{" +
                "userName='" + userName + '\'' +
                ", passWord='" + passWord + '\'' +
                ", name='" + name + '\'' +
                ", gender='" + gender + '\'' +
                ", age='" + age + '\'' +
                ", cla='" + cla + '\'' +
                ", status='" + status + '\'' +
                '}';
    }
}
